package A20180308;

import A20180306.Point;

public class Rectangle3 {
	int width;
	int height;
	Point origin;
	
	Rectangle3(int w, int h, Point p) {
		width = w;
		height = h;
		origin = p;
	}
	
	void move(int x1, int y1) {
		origin.move(x1,y1);
	}
	
	int getArea() {
		return width * height;
	}
}
